Refactoring in Visual Studio .NET
I have just posted three articles on refactoring code in Visual Studio .NET. They are the first of several more I hope to write. I certainly don't tout myself as an expert on the subject. We at KnowDotNet have just launched a new product called NET Refactor. Like most add-ins that I write, it comes from a need to automate tasks that I repeat many times a day. Although I did most of the work on this product, it could not have been done without a lot of help from Brian Davis, who has helped me and written many of the Regular Expressions that are the heart of this add-in. Bill Ryan provided a lot of input regarding functionality and testing.
I look forward to getting feed back on the add-in. The primary goal in establishing our site was to disseminate knowledge. If we make a buck occassionaly, that won't bother us either.
If you ask anyone who has emailed us with questions, you will find that we always try to respond, in a timely manner, and hopefully with a solution the to posed question.
5 Comments:
Hello Les,
I was looking forward to find a refactoring tool for VB.NET 2003 so this tool seemed to be an answer for that.
Today I downloaded the trial version and ran the upgrade, however I'm always getting an error when trying to refactor my code.
I selected a piece of code and tried the extract to method, the exception says "Specified argument was out of range of valid values. Parameter name: 0 is not a valid value for index"
Please if you already have a solution, let me know.
Lizet
lizet at ironsolutions dot com
Does CSharpCompleterPlus support Visual Studio.Net 2008 now? I haven't seen any updates for it for several years now and was wondering if there are any plans for the add-in to be updated to support VS.Net 2008.
Thanks.
Are there any plans for CSharpCompleterPlus to be updated to support Visual Studio.Net 2008? I have been using CSharpCompleterPlus since VS.Net 2003 and I have not seen an update for it in several years now and was wondering if this product has now been discontinued or no longer supported since I no longer see a roadmap for supporting VS.Net 2008 even though the new product--Visual Class Organizer clearly has been developed to support VS.Net 2008.
Thanks.
Hi Les:
I am using your GetSetting/SaveSetting replacement and it is very slick!
One thing it is missing, though, is an equivalent for DeleteSetting. Without this the XML file can be left with lots of orphan settings.
For example I have an application that save the indexes of all the checked items in a listview. I also save a count - so when I read it I know how many times to loop.
When I remove checks I obviously only need to save the count to the lower number - but all of the now unchecked items still clock the xml file.
Normally I delete the root, save the count and rewrite all of the checked items. This was done to keep the registly clean and I'd like to do the same thing with the XML.
CSharpCompleter now supports VS2008.
Post a Comment
<< Home